<#-- 话题内容 空白页 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-CN">
<head>
<base href="${baseURL}" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


<@object action="${topicRelated_topicContent_1}" topicId="${url_topicId}"> 
	<#assign topic = topicRelated_topicContent_entityBean>
</@object> 

<title><#if topic != null && topic?? >${topic.title}</#if> - ${title}</title>
<link rel="shortcut icon" type="image/x-icon" href="${baseURL}${commonPath}images/favicon.ico" media="screen" />
<link href="${commonPath}css/common.css" rel="stylesheet" type="text/css" />
<!--[if (IE 6)|(IE 7)|(IE 8)]>
<script type="text/javascript" src="${commonPath}js/css3pie/PIE_IE678.js"></script> 
<![endif]-->
<script type="text/javascript" src="${commonPath}js/tool.js" language="javascript"></script>
<script type="text/javascript" src="${commonPath}js/ajax.js" language="javascript" ></script>
<script type="text/javascript" src="${commonPath}js/json2.js" language="javascript" ></script>
<script type="text/javascript" src="${commonPath}js/jquery/jquery.min.js" language="javascript"></script>
<link href="${commonPath}js/kindeditor/themes/default/default.css" type="text/css" rel="stylesheet"/>

<script type="text/javascript" src="${commonPath}js/kindeditor/kindeditor-min.js" language="javascript"></script>
<script type="text/javascript" src="${commonPath}js/kindeditor/lang/zh-CN.js" language="javascript"></script>
<link href="${commonPath}js/layer/skin/layer.css"  type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="${commonPath}js/layer/layer.js" language="javascript"></script>
<link rel="stylesheet" href="${commonPath}js/syntaxhighlighter/styles/shCoreDefault.css"  type="text/css" />
<script language="JavaScript" src="${commonPath}js/syntaxhighlighter/scripts/shCore.js" type="text/javascript"></script>
<script language="javascript" src="${commonPath}js/syntaxhighlighter/scripts/shBrushXml.js" type="text/javascript" ></script>
<script language="javascript" src="${commonPath}js/syntaxhighlighter/scripts/shBrushJScript.js" type="text/javascript" ></script>
<script language="javascript" src="${commonPath}js/syntaxhighlighter/scripts/shBrushCss.js" type="text/javascript"></script>
<script language="javascript" src="${commonPath}js/syntaxhighlighter/scripts/shBrushJava.js" type="text/javascript"></script>

</head>
<body>
<#-- 引入页头 -->
<@include action="${newPublic_2}"/>
<div class="fixedBottom wrap main_bg clearfix">
	<div class="leftColumn_article">
		<#if topic != null && topic?? >
			<div class="articleModule" >
				<div class="tab">
					<a href="?tagId=${topic.tagId}"class="tab">${topic.tagName}</a>
				</div>
			
				<div class="articleBox">
					<h1>${topic.title}</h1>
								
					<div class="articleContent">
						<#noescape>${topic.content}</#noescape>
					</div>
					<h2></h2>
				</div>
			</div>
			
			<#-- 引入评论列表 -->
			<@include action="${topicRelated_comment_2}"/> 
			 
			 
			<#if topic.allow == true><#-- 允许评论 -->
				<#-- 引入添加评论 -->
				<@include action="${topicRelated_addComment_1}"/> 
			<#else><#-- 不允许评论 -->
				<div class="addCommentModule" >
					<div class="respond">
						<p style="font-size:13px;padding:8px;text-align:center;background:#eee;overflow:hidden">
							评论已关闭
						</p>
					</div>
				</div>
			</#if>
			 
			
			
		</#if>
	</div>
	<#if topic != null && topic?? >
		<div class="articleInfoModule">
			<div class="user">
				<div class="author">
					<a href="#">
						<img src='${commonPath}images/min_avata.png' height='48' width='48' />
					</a>
					<span><a href="#">${topic.userName}</a></span>
				</div>
				<div class="userInfo">
					<span>${topic.postTime}</span>
					<span>${topic.viewTotal} 次浏览</span>
					<span>${topic.commentTotal} 个评论</span>
				</div>
			</div>
		</div>
		
		<!-- 相拟话题 -->
		<@include action="${topicRelated_likeTopic_1}" topicId="${topic.id}"/>
		
	</#if>
	
	<div class="clear"></div>
	<div class="push"><!-- 把div#footer推下去 --></div>
</div>
<#-- 引入页脚 -->
<@include action="${newPublic_3}"/>
</body>
<!-- 代码高亮显示 -->
<script type="text/javascript">
	$(".lang-xml").each(function(index, element) {
		$(this).attr("class","brush: xml");
	});
	$(".lang-css").each(function(index, element) {
		$(this).attr("class","brush: css");
	});
	$(".lang-html").each(function(index, element) {
		$(this).attr("class","brush: xml");
	});
	$(".lang-js").each(function(index, element) {
		$(this).attr("class","brush: js");
	});
	$(".lang-java").each(function(index, element) {
		$(this).attr("class","brush: java");
	});
	SyntaxHighlighter.all();
	SyntaxHighlighter.defaults['toolbar'] = false;//去掉右上角问号图标
	
</script>
</html>
